@echo off
cls

echo caxe
caxe cx-src src
if errorlevel 1 goto fail

echo haxe
haxe -cp src -main Main -neko bin/caxe.n
if errorlevel 1 goto fail

echo nekotools
nekotools boot bin/caxe.n
if errorlevel 1 goto fail

exit

:fail

pause
exit